package com.yangfan.cloudalibaba;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;


/**
 * 订单模块  调用   减库存模块  调用  较少钱模块
 *
 * 下单 -> 减库存 -> 扣余额 ->  改订单状态  三个项目 三个库
 *
 */
@SpringBootApplication
@EnableDiscoveryClient //开启服务注册
@EnableFeignClients
public class SeataOrderMain2000 {
    public static void main(String[] args) {
        SpringApplication.run(SeataOrderMain2000.class,args);
    }
}
